package com.gs.netty.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 排序 注解
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Order {
    /**
     * 值越小越靠前
     * @return
     */
    int value() default Integer.MAX_VALUE;
}
